package Chapter03.Homework;

import java.util.Scanner;

public class Test03 {
    public static void main(String[] args) {
        Scanner input =new Scanner(System.in);
        int num=input.nextInt();
        if(num%7==0){
            System.out.println("是7的倍数");
        }else {
            System.out.println("No");
        }
    }
}
